#ifndef CONSTANTS_H_
#define CONSTANTS_H_

/* Constantes de retorno */
#define NOT_FOUND -2
#define FAILURE -1
#define SUCCESS 0
#define INCOMPLETE 1
#define EXIT 2

/* Constantes do ground do processo */
#define FG 1
#define BG 2

/* Constantes do status do processo */
#define RUNNING 1
#define STOPPED 2
#define CONTINUED 3
#define DONE 4
#define KILLED 5

/* Constantes do tipo do comando */
#define INTERNAL 1
#define EXTERNAL 2
#define LOCAL 3

/* Constantes do tipo do conector de comandos */
#define SIMPLE 1
#define OR 2
#define AND 3
#define PIPE 4
#define EBG 5

/* Constantes do tipo de redirecionamento de saída */
#define SIMPLE_OUT 1
#define SIMPLE_IN 2
#define SIMPLE_ERR 3
#define DOUBLE_OUT 4
#define DOUBLE_ERR 5
#define OUT_ERR 6
#define ERR_OUT 7

/* Constantes de tamanho */
#define MAX_INPUT 1000
#define MAX_PATH_ARG 200

/* Constantes de ambiente */
#define USER getenv("USER")
#define HOSTNAME getenv("HOSTNAME")
#define PROMPT "$>"

/* Nome do arquivo do histórico */
#define HISTORY_FILE "mustash_history"

#endif /* CONSTANTS_H_ */
